package com.hsmw.schedule.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 混天凝 推送
 * */
@Data
public class WXPushVO {

    @ApiModelProperty(value = "推送模板ID")
    private String templateId;

    @ApiModelProperty(value = "小程序类型 ： PM：项目经理端；FOREMAN")
    private String appType;

    @ApiModelProperty(value = "小程序 OPENID")
    private String openId;

    @ApiModelProperty(value = "主标题")
    private String mainTitle;


    @ApiModelProperty(value = "副标题")
    private String subTitle;



    @ApiModelProperty(value = "上报人")
    private String reportName;


    @ApiModelProperty(value = "订单编号")
    private String orderId;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @ApiModelProperty(value = "到达时间")
    private LocalDateTime arriveTime;


    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @ApiModelProperty(value = "开始干活时间时间")
    private LocalDateTime startWorkTime;



    @ApiModelProperty(value = "施工地址")
    private String constructionAddress;


    @ApiModelProperty(value = "车辆牌照号码")
    private String vehicleNums;

    @ApiModelProperty(value = "小程序ID")
    private String miniPagramId ;




    @ApiModelProperty(value = "项目名称")
    private String itemName ;

    @ApiModelProperty(value = "施工部位")
    private String constructionPosition ;



    @ApiModelProperty(value = "已经打方量")
    private String alreadyVolume ;


    @ApiModelProperty(value = "进度状态")
    private String processStatus ;


    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "施工开始时间")
    private LocalDate startTime;


    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "施工结束时间")
    private LocalDate endTime;





}
